/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MinhaLoja;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

/**
 *
 * @author rm64723
 */
@Entity
@Inheritance (strategy= InheritanceType.SINGLE_TABLE)
public class cd extends Item{
    
    protected String categoria;
    protected String artista;

    public String getArtista() {
        return artista;
    }

    public void setArtista(String artista) {
        this.artista = artista;
    }

    public String getCategoria() {
        return categoria;
    }

    public void setCategoria(String categoria) {
        this.categoria = categoria;
    }
    
}
